VERSION 5.00
Object = "{3E7A6B4C-E169-43A2-ABF5-E33F5DBFF04E}#1.0#0"; "LPMOLE~1.DLL"
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   5190
   ClientLeft      =   60
   ClientTop       =   510
   ClientWidth     =   7125
   LinkTopic       =   "Form1"
   ScaleHeight     =   5190
   ScaleWidth      =   7125
   StartUpPosition =   3  'Windows Default
   Begin LPMOLECVIEWERCONTROLLibCtl.LPMolecViewer LPMolecViewer1 
      Height          =   4215
      Left            =   120
      OleObjectBlob   =   "Form1.frx":0000
      TabIndex        =   2
      Top             =   840
      Width           =   6855
   End
   Begin VB.CommandButton Command2 
      Caption         =   "ShowMessage"
      Height          =   615
      Left            =   1440
      TabIndex        =   1
      Top             =   120
      Width           =   1335
   End
   Begin VB.CommandButton Command1 
      Caption         =   "savepng"
      Height          =   615
      Left            =   120
      TabIndex        =   0
      Top             =   120
      Width           =   1215
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
    'LPMolecViewer1.FileLocation = "C:\Documents and Settings\Luis Perdigao\My Documents\Programming\Cpp\LPMolecViewerControlDevSVN_A\ethanol.xyz"
    LPMolecViewer1.SaveMolToPNG "testvb.png"
    
End Sub

Private Sub Command2_Click()
    LPMolecViewer1.TestShowMessageBox
End Sub

